package com.chrray.position.domain.dto;

import com.chrray.position.enums.app.FdJobTermEnum;
import com.chrray.position.enums.app.FdSalaryRangeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 雇工求职意向表 参数层对象
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
@Data
@ApiModel(description = "雇工求职意向表")
@Valid
public class FdJobIntentionsDTO {

	@ApiModelProperty(value = "主键")
	private Long id;

	@ApiModelProperty(value = "求职类型: 1-短期,2-长期,3-都可以")
	@NotNull(message = "求职类型不能为空")
	private FdJobTermEnum jobType;

	@ApiModelProperty(value = "期望职位id列表,关联后台配置的职位")
	@NotNull(message = "期望职位不能为空")
	@Size(max = 2, message = "期望职位最多选择2个")
	private List<Long> expectedPosition;

	@ApiModelProperty(value = "期望职位名称列表,关联后台配置的职位")
	private List<String> expectedPositionNames;

	@ApiModelProperty(value = "期望城市的行政区划编码")
	@NotNull(message = "期望城市不能为空")
	private String expectedCityCode;

	@ApiModelProperty(value = "期望城市的名称")
	@NotNull(message = "期望城市不能为空")
	private String expectedCityName;

	@ApiModelProperty(value = "常用地址")
	private String commonAddress;

	@ApiModelProperty(value = "期望薪资: 1-面议,2-1000元以下,3-1000-2000元,4-2000-3000元,5-3000-5000元,6-5000-8000元,7-8000-12000元,8-12000-20000元,9-20000-25000元,10-25000元以上")
	private FdSalaryRangeEnum expectedSalary;






}
